﻿namespace JinShun.OA.UI.Dtos.Navigation
{
    public class Naviga
    {
        public string? title { get; set; }
        public string? icon { get; set; }
        public string? noCache { get; set; }
        public string? link { get; set; }
    }
    public class NavigaChildren
    {
        public Naviga? meta { get; set; }
        public string? id { get; set; }
        public string? parentId { get; set; }
        public string? orderNum { get; set; }
        public string? name { get; set; }
        public string? path { get; set; }
        public string? hidden { get; set; }
        public string? redirect { get; set; }
        public string? component { get; set; }
        public string? alwaysShow { get; set; }
        //public string? children { get; set; }
    }
    public class NavigationOutDto
    {
        public Naviga? meta { get; set; } = new Naviga();
        public string id { get; set; }
        public string? parentId { get; set; }
        public string? orderNum { get; set; }
        public string? name { get; set; }
        public string? path { get; set; }
        public string? hidden { get; set; }
        public string? redirect { get; set; }
        public string? component { get; set; }
        public string? alwaysShow { get; set; }
        public List<NavigaChildren>? children { get; set; }
    }
}
